Skip to content

feat(ui5-time-picker): display-value and value-format properties are introduced#13071

Merged
GDamyanov merged 32 commits intomainfrom
timepicker-display-value-format
Mar 6, 2026
Merged

feat(ui5-time-picker): display-value and value-format properties are introduced#13071
GDamyanov merged 32 commits intomainfrom
timepicker-display-value-format

Conversation

@GDamyanov
Copy link
Copy Markdown
Contributor

@GDamyanov GDamyanov commented Feb 12, 2026

This PR introduces display-value and value-format properties to the ui5-time-picker component

Changes:

  • Added displayValue property for custom display formatting
  • Added valueFormat property for value parsing/formatting control
  • Updated TimePicker implementation to handle the new properties
  • Added sample demonstrating custom formatting

@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

ui5-webcomponents-bot commented Feb 12, 2026

🧹 Preview deployment cleaned up: https://pr-13071--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 12, 2026 12:41 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 07:38 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 07:57 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 08:29 Inactive
@GDamyanov GDamyanov requested a review from hinzzx February 16, 2026 12:24
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 17, 2026 08:02 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 18, 2026 08:04 Inactive
@GDamyanov GDamyanov requested a review from hinzzx February 18, 2026 15:00
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 18, 2026 15:06 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 23, 2026 08:02 Inactive
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix documentation here as well, I did it in ui5-date-picker

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 2a6d3c1

_isoFormatInstance?: DateFormat;
_displayFormatInstance?: DateFormat;
_valueFormatInstance?: DateFormat;
_lastDisplayFormatPattern?: string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 2a6d3c1

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 26, 2026 11:33 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 27, 2026 11:50 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 4, 2026 12:25 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 4, 2026 12:52 Inactive
@GDamyanov GDamyanov requested a review from tsanislavgatev March 4, 2026 12:54
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 4, 2026 17:02 Inactive
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 6, 2026

Sample sync reminder

React sample changed but HTML sample (sample.html/main.js/main.css) not updated:

  • main/TimePicker/FormatPatterns

Please keep both samples in sync, or ignore if the change does not apply to both.

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 14:01 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 14:31 Inactive
@GDamyanov GDamyanov merged commit f82f678 into main Mar 6, 2026
22 of 23 checks passed
@GDamyanov GDamyanov deleted the timepicker-display-value-format branch March 6, 2026 14:44
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 14:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants